package com.dongdongshop.service;

import com.dongdongshop.page.PageBeen;
import com.dongdongshop.pojo.TbBrand;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbTypeTemplate;

import java.util.List;

public interface TbTypeTemplateService {
    PageBeen<TbTypeTemplate> getTemplate(String name, Integer pageNum, Integer pageSize);

    List<TbBrand> selectByBrand();

    List<TbSpecification> selectBySpecification();

    int addTemplate(TbTypeTemplate tbTypeTemplate);

    TbTypeTemplate toUpdate(Long id);

    int updateInfo(TbTypeTemplate tbTypeTemplate);

    int deleteInfo(Integer[] ids);

    TbTypeTemplate getBrand(Long id);

    TbTypeTemplate getTemplateMapper(Long typeId);
}
